package store.lunangangster.engine;

public class NodeFlowObjectNotFoundException extends NodeFlowException {

  private Class<?> clazz;

  public NodeFlowObjectNotFoundException(String message) {
    super(message);
  }

  public NodeFlowObjectNotFoundException(String message, Class<?> clazz) {
    this(message, null, clazz);
  }


  public NodeFlowObjectNotFoundException(String message, Throwable cause, Class<?> clazz) {
    super(message, cause);
    this.clazz = clazz;
  }

  public Class<?> getObjectClass() {
    return clazz;
  }
}
